﻿<Page
    x:Class="Caliburn.Micro.WinRT.Sample.Views.MenuView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:caliburn="using:Caliburn.Micro"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="140" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>

            <Button x:Name="GoBack" Style="{StaticResource BackButtonStyle}"/>
            <TextBlock Text="Caliburn.Micro WinRT Sample" Style="{StaticResource PageHeaderTextStyle}" Grid.Column="1" />
        </Grid>

        <GridView x:Name="Samples" Grid.Row="1" Margin="0,-3,0,0" Padding="116,0,116,46" SelectionMode="None"
                  IsItemClickEnabled="True" caliburn:Message.Attach="[Event ItemClick] = [SampleSelected($eventArgs)]"/>

        <Image Style="{StaticResource MarkerMetroLogo}" Grid.Row="1"/>

    </Grid>
</Page>